<style>
  .block-grid p {
    background: dodgerblue;
    text-align: center !important;
    color: white !important;
  }
</style>

<container>
  <block-grid up="2">
    <td><p>one</p></td>
    <td><p>two</p></td>
  </block-grid>
  <block-grid up="3">
    <td><p>one</p></td>
    <td><p>two</p></td>
    <td><p>three</p></td>
  </block-grid>
  <block-grid up="4">
    <td><p>one</p></td>
    <td><p>two</p></td>
    <td><p>three</p></td>
    <td><p>four</p></td>
  </block-grid>
  <block-grid up="5">
    <td><p>one</p></td>
    <td><p>two</p></td>
    <td><p>three</p></td>
    <td><p>four</p></td>
    <td><p>five</p></td>
  </block-grid>
</container>